home *** CD-ROM | disk | FTP | other *** search
- /* comio.h - COMn communications I/O definitions.
- (C) Copyright 1985 Cray Research Inc. - All Rights Reserved.
- G. R. Mansfield. 85/06/19.
- Ver 1.0-5909.
- */
-
- #ifndef _comio /* allow more than 1 include of this file */
- #define _comio
-
- extern BYTE com_ls; /* line status */
- extern BYTE com_ms; /* modem status */
-
- extern int com_ct[6]; /* counters */
- /*
- 0 = unidentified interrupts
- 1 = line status interrupts
- 2 = modem status interrupts
- 3 = receive buffer overflow
- 4 = receive errors
- 5 = interrupt request
- */
-
- /* Buffer pointers. */
- struct cbc_s {
- int bf;
- BYTE *ft; /* first */
- BYTE *in; /* in */
- BYTE *ot; /* out */
- BYTE *lm; /* limit */
- }
- com_rb, /* receive buffer */
- com_xb; /* transmit buffer */
-
- #endif
-